import { combineReducers } from 'redux';

import todos from '../containers/Todo/_reducer';
// import counter from '../containers/Index/_reducer';
// import * as counter from '../containers/Index/_reducer';
import { setCounter, test } from '../containers/Index/_reducer';
import { loginOff } from '../containers/Login/_reducer';
import { changeBtnsStatus } from '../containers/MenuManger/_reducer';
import { getGroup } from '../containers/Group/_reducer';
import { toggleCollapsed, addTags } from '../containers/Head/_reducer';
import { getList, getDefaultList } from '../containers/Service/_reducer';
import { Contract } from '../containers/Contract/_reducer';

const App = combineReducers({
  todos,
  setCounter,
  test,
  loginOff, // 登录登出
  changeBtnsStatus,
  toggleCollapsed, // 左侧菜单伸缩
  getList, // 服务管理
  getGroup,
  getDefaultList, // 服务管理
  addTags, // 添加头部标签
  Contract
});

export default App;
